package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.RealVirtualCluster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 实际虚拟群集
 * @Author: xiaoyq
 * @Date:   2023-11-15
 * @Version: V1.0
 */
public interface RealVirtualClusterMapper extends BaseMapper<RealVirtualCluster> {
    /**
     * 获得fdn对应的虚拟群集
     * @param fdn
     * @return
     */
    RealVirtualCluster selectByFdn(@Param("fdn") String fdn);

    /**
     * 根据名称和Ip查询虚拟群集
     * @param name
     * @param ip
     * @return
     */
    RealVirtualCluster selectByNameAndIp(@Param("name") String name, @Param("ip") String ip);


}
